// 加载中
import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useSpinningStore = defineStore('spinning', () => {
  const spinning = ref<boolean>(false)
  function changeSpinning(value: boolean) {
    spinning.value = value
  }
  return { spinning, changeSpinning }
})
